import request from '@/utils/request'

// 首页-查询推荐/减脂/饮食健康/关注页面--百科文章列表
export const getKnowledgeList = (params) => request({
  url: '/patient/home/knowledge',
  method: 'GET',
  params
})

// 首页-关注操作
export const likeKnowledge = (data) => request({
  url: '/like',
  method: 'POST',
  data
})

// 首页-关注的医生列表
export const getDocList = (params) => request({
  url: '/home/page/doc',
  method: 'GET',
  params
})
